package com.hzncc.flowable_diboot.contract.service.impl;

import com.hzncc.flowable_diboot.contract.vo.ContractAuditCancelVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import com.diboot.core.service.impl.BaseServiceImpl;

import com.hzncc.flowable_diboot.contract.entity.ContractAuditCancel;
import com.hzncc.flowable_diboot.mapper.ContractAuditCancelMapper;
import com.hzncc.flowable_diboot.contract.service.ContractAuditCancelService;

import jakarta.annotation.Resource;
import java.util.List;


/**
* 合同取消 相关Service实现类
* @author MyName
* @version 1.0
* @date 2024-07-15
* Copyright © MyCorp
*/
@Slf4j
@Service
public class ContractAuditCancelServiceImpl extends BaseServiceImpl<ContractAuditCancelMapper, ContractAuditCancel> implements ContractAuditCancelService {
    
    @Resource
    private ContractAuditCancelMapper contractAuditCancelMapper;

    @Override
    public void deleteByContractCodeAndContractVersion(String contractCode, Long contractVersion) {
        contractAuditCancelMapper.deleteByContractCodeAndContractVersion(contractCode,contractVersion);
    }
}